<?php

use yii\helpers\Html;
?>
<!DOCTYPE html>
<html>
    <head lang="zh">
        <meta charset="UTF-8">
        <title><?= Html::encode($this->title) ?></title>
        <!--#include virtual="/mypublic/inc/head.html" -->
        <?php echo Html::cssFile('/public/misc/jquery.jqGrid-4.6.0/css/ui.jqgrid.css') . "\n"; ?>
        <?php echo Html::cssFile('/public/misc/jquery-ui-themes-1.11.2/humanity/jquery-ui.min.css') . "\n"; ?>

        <?php echo Html::jsFile('/static_public/node_modules/jquery/dist/jquery.min.js') . "\n"; ?>
        <?php echo Html::jsFile('/public/misc/jquery.jqGrid-4.6.0/js/i18n/grid.locale-cn.js') . "\n"; ?>
        <?php echo Html::jsFile('/public/misc/jquery.jqGrid-4.6.0/js/jquery.jqGrid.min.js') . "\n"; ?>

        <style>
            .name {
                text-align: left;
            }

            .padding_1 {
                padding-left: 21px;
            }

            .padding_2 {
                padding-left: 41px;
            }

            .padding_3 {
                padding-left: 61px;
            }

            .padding_4 {
                padding-left: 81px;
            }
            .loading {
                height: auto;
            }
            /*.table {*/
            /*width: 1000px;*/
            /*margin: 0 auto;*/
            /*}*/

            /**
             * Yii App private css
             */
            div.errorSummary
            {
                border: 2px solid #C00;
                padding: 7px 7px 12px 7px;
                margin: 0 0 20px 0;
                background: #FEE;
                font-size: 1em;
            }

            div.errorSummary p
            {
                margin: 0;
                padding: 5px;
                font-weight: bold;
            }

            div.errorSummary ul
            {
                margin: 0;
                padding: 0 0 0 20px;
            }

            div.errorSummary ul li
            {
                list-style: square;
                color: red;
            }
            .side {
                font-size:12px;
            }

        </style>
        <?php $this->head() ?>
    </head>
</head>
<body>
    <!--#include virtual="/mypublic/inc/seajs.html" -->
    <!--#include virtual="/mypublic/inc/top.html" -->

    <div class="layout">
        <!-- 容器 [[-->
        <div class="container">
            <div class="wrap clearfix">

                <div class="mt10">
                    <!--#include virtual="/mypublic/inc/left_side.html" -->
                </div>

                <div class="content">
                    <?= $content ?>
                </div>

            </div>
        </div>
        <!-- 容器 ]]-->
    </div>
    <!--#include virtual="/static_public/public_menu/footer.html" -->
    <script type="text/javascript">
        window.jQueryCache = window.jQuery;
        seajs.use(["/public/js/myservice/side", "/public/js/myservice/authorize"], function (side) {
            window.jQuery = window.$ = window.jQueryCache;
            side.init();
        });
    </script>
</body>
</html>
